package com.yqz.bussi.task;

import com.yqz.bussi.service.BussiBookingCustomerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class BussiTask {

    @Autowired
    private BussiBookingCustomerService bussiBookingCustomerService;

    @Scheduled(cron = "0 0 0 1 2 ? ")
    public void resetCheckFeeState(){
        bussiBookingCustomerService.resetCheckFeeState();
    }
}
